import { defineStore } from 'pinia';

export const useLoadingStore = defineStore('loading', {
  state: () => {
    return {
      loading: false
    }
  },
  actions: {
    changeLoading (loading) {
      this.loading = !this.loading;
    }
  }
});
